package com.baizhi.hospital.entity;

import java.util.Date;

public class Patient {
    private int patientId;
    private String patientName;
    private int patientSex;
    private Date patientBirth;
    private String patientIdCard;
    private String patientAddress;
    private String patientMobile;

    @Override
    public String toString() {
        return "Patient{" +
                "patientId=" + patientId +
                ", patientName='" + patientName + '\'' +
                ", patientSex=" + patientSex +
                ", patientBirth=" + patientBirth +
                ", patientIdCard='" + patientIdCard + '\'' +
                ", patientAddress='" + patientAddress + '\'' +
                ", patientMobile='" + patientMobile + '\'' +
                '}';
    }

    public int getPatientId() {
        return patientId;
    }

    public void setPatientId(int patientId) {
        this.patientId = patientId;
    }

    public String getPatientName() {
        return patientName;
    }

    public void setPatientName(String patientName) {
        this.patientName = patientName;
    }

    public int getPatientSex() {
        return patientSex;
    }

    public void setPatientSex(int patientSex) {
        this.patientSex = patientSex;
    }

    public Date getPatientBirth() {
        return patientBirth;
    }

    public void setPatientBirth(Date patientBirth) {
        this.patientBirth = patientBirth;
    }

    public String getPatientIdCard() {
        return patientIdCard;
    }

    public void setPatientIdCard(String patientIdCard) {
        this.patientIdCard = patientIdCard;
    }

    public String getPatientAddress() {
        return patientAddress;
    }

    public void setPatientAddress(String patientAddress) {
        this.patientAddress = patientAddress;
    }

    public String getPatientMobile() {
        return patientMobile;
    }

    public void setPatientMobile(String patientMobile) {
        this.patientMobile = patientMobile;
    }

    public Patient(int patientId, String patientName, int patientSex, Date patientBirth, String patientIdCard, String patientAddress, String patientMobile) {
        this.patientId = patientId;
        this.patientName = patientName;
        this.patientSex = patientSex;
        this.patientBirth = patientBirth;
        this.patientIdCard = patientIdCard;
        this.patientAddress = patientAddress;
        this.patientMobile = patientMobile;
    }

    public Patient() {
    }
}
